var label = document.querySelector("label")
var qizhi = 0
label.onclick = function () {
    if (qizhi == 0) {
        this.style.background = "url(./images//checkbox_12x12.png) 0 2px no-repeat"
        qizhi = 1
    } else if (qizhi == 1) {
        this.style.background = "url(./images/checked_solid_12x12.png) 0 2px no-repeat"
        qizhi = 0
    }
}



var inp = document.querySelectorAll("input")
inp.forEach(function (value, index, array) {
    value.onfocus = function () {
        $(this).parent().css({
            "border-color": "#8c8c8c"
        });
    }
    value.onblur = function () {
        $(this).parent().css({
            "border-color": "#d2d2d2"
        });
    }
})
